package ch.mueller.android.sensorexample.sensorpages.gpssensor.util.readerFactoryElements;

import java.util.LinkedHashMap;

public class UnknownAnalyser extends GPSLineAnalyser{
    
    public UnknownAnalyser(String line) {
        super(line);
    }

    @Override
    public LinkedHashMap<String, String> getResult() {
        LinkedHashMap<String, String> hashMap = new LinkedHashMap<String, String>();
        try {
            hashMap.put("Unanalysed Type", line.substring(3, 6));            
        } catch (Exception e2) {
            hashMap.put("Unanalysed Type", "Unknown");            
        }
        return hashMap;
    }

}
